package com.ruoyi.project.search.viewstockstatistics.service;

import java.util.List;
import com.ruoyi.project.search.viewstockstatistics.domain.ViewStockStatistics;

/**
 * 库存统计Service接口
 * 
 * @author wld
 * @date 2023-06-03
 */
public interface IViewStockStatisticsService 
{
    /**
     * 查询库存统计
     * 
     * @param warehousecode 库存统计主键
     * @return 库存统计
     */
    public ViewStockStatistics selectViewStockStatisticsByWarehousecode(String warehousecode);

    /**
     * 查询库存统计列表
     * 
     * @param viewStockStatistics 库存统计
     * @return 库存统计集合
     */
    public List<ViewStockStatistics> selectViewStockStatisticsList(ViewStockStatistics viewStockStatistics);

    /**
     * 新增库存统计
     * 
     * @param viewStockStatistics 库存统计
     * @return 结果
     */
    public int insertViewStockStatistics(ViewStockStatistics viewStockStatistics);

    /**
     * 修改库存统计
     * 
     * @param viewStockStatistics 库存统计
     * @return 结果
     */
    public int updateViewStockStatistics(ViewStockStatistics viewStockStatistics);

    /**
     * 批量删除库存统计
     * 
     * @param warehousecodes 需要删除的库存统计主键集合
     * @return 结果
     */
    public int deleteViewStockStatisticsByWarehousecodes(String warehousecodes);

    /**
     * 删除库存统计信息
     * 
     * @param warehousecode 库存统计主键
     * @return 结果
     */
    public int deleteViewStockStatisticsByWarehousecode(String warehousecode);
}
